home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / include / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-29  |  904 b   |  26 lines

  1. #ifndef _FSP_PROTO_H_
  2. #define _FSP_PROTO_H_
  3.  
  4.  
  5. #ifdef UNDERSTANDS_PROTOTYPES
  6. #define PROTO0(a) a
  7. #define PROTO1(a, b) (a b)
  8. #define PROTO2(a, b, c, d) (a b, c d)
  9. #define PROTO3(a, b, c, d, e, f) (a b, c d, e f)
  10. #define PROTO4(a, b, c, d, e, f, g, h) (a b, c d, e f, g h)
  11. #define PROTO5(a, b, c, d, e, f, g, h, i, j) (a b, c d, e f, g h, i j)
  12. #define PROTO6(a, b, c, d, e, f, g, h, i, j, k, l) (a b, c d, e f, g h, i j, k l)
  13. #else
  14. #define PROTO0(a) ()
  15. #define PROTO1(a, b) (b) a b;
  16. #define PROTO2(a, b, c, d) (b, d) a b; c d;
  17. #define PROTO3(a, b, c, d, e, f) (b, d, f) a b; c d; e f;
  18. #define PROTO4(a, b, c, d, e, f, g, h) (b, d, f, h) a b; c d; e f; g h;
  19. #define PROTO5(a, b, c, d, e, f, g, h, i, j) (b, d, f, h, j) \
  20.         a b; c d; e f; g h; i j;
  21. #define PROTO6(a, b, c, d, e, f, g, h, i, j, k, l) (b, d, f, h, j, l) \
  22.         a b; c d; e f; g h; i j; k l;
  23. #endif /* UNDERSTANDS_PROTOTYPES */
  24.  
  25. #endif
  26.